package com.ruyuan.eshop.diplomacy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruyuan.eshop.diplomacy.domain.entity.ItemInfoDO;
import com.ruyuan.eshop.diplomacy.domain.entity.ProductDetailDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * ITEM信息
 *
 * @author zhonghuashishan
 */
@Mapper
public interface ItemInfoMapper extends BaseMapper<ItemInfoDO> {
    /**
     *  查询单个商品的详情信息
     * @param skuId
     * @return
     */
    ProductDetailDO queryProductInfo(@Param("skuId") String skuId);

}